package com.crazypos.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_menu")
public class MenuEntity extends BaseEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "url")
    private String url;

    @TableField(value = "slug")
    private String slug;

    @TableField(value = "module_id")
    private Integer moduleId;

    @TableField(value = "module_name")
    private String moduleName;

    @TableField(value = "can_delete")
    private Integer canDelete;

    @TableField(value = "status")
    private Integer status;

    @TableField(value = "is_admin")
    private Integer isAdmin;
}
